<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    const obj = {
      name: 'zs',
      age: 13,
      info: {
        tel: 110,
        address: {
          provice: '广东',
          city: '广州',
          area: '天河'
        }
      }
    }
    console.log(obj.info.address);
    const {name, age, info: {tel, address: { area }}} = obj
    console.log(name);
    console.log(age);
    console.log(tel);
    console.log(area);
    // const {address} = info
    // console.log(address)
  </script>
  
</body>
</html>